package com.pbking.facebook.delegates.data
{
	import com.pbking.facebook.Facebook;
	import com.pbking.facebook.delegates.FacebookDelegate;

	/**
	 * delegate for calling data.setUserPreference  
	 * 
	 * @author sol wu
	 */
	public class SetUserPreferenceDelegate extends FacebookDelegate
	{
		public function SetUserPreferenceDelegate(facebook:Facebook, pref_id:int, value:String)
		{
			super(facebook);
			fbCall.setRequestArgument("pref_id", pref_id);
			fbCall.setRequestArgument("value", value);
			fbCall.post("facebook.data.setUserPreference");
		}
		
	}
}